package com.rerun.common.util;

/**
 * Created with IntelliJ IDEA.
 * Author: Dax
 * Description:
 * Date: 2017/9/23
 * Time: 10:15
 */


public interface Encryptable {
    /**
     * Encrypt string.
     *
     * @param original the original
     * @return the string
     */
    String encrypt(String original);

    /**
     * Decrypt string.
     *
     * @param ciphertext the ciphertext
     * @return the string
     */
    String decrypt(String ciphertext);
}
